<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="../js知识点累积/inherit.js"></script>
<script>
    let obj = new SuperMan(18, 'huizi', 'strong');
    console.log(obj,'obj');
    
    obj.say(); // 父类
    obj.fly(); // 自己类
</script>
</html>